home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: giuliano@ix.netcom.com(Giuliano Carlini)
- Newsgroups: comp.lang.c++
- Subject: Re: Memory Loss Problem
- Date: 11 Apr 1996 06:46:39 GMT
- Organization: Netcom
- Message-ID: <4ki9sf$me8@dfw-ixnews8.ix.netcom.com>
- References: <497cc$111a32.23a@news.annex.com>
- NNTP-Posting-Host: lbx-ca7-14.ix.netcom.com
- X-NETCOM-Date: Thu Apr 11 1:46:39 AM CDT 1996
-
- In <497cc$111a32.23a@news.annex.com> bjg@annex.com (Froman) writes:
- >
- >memory problem. If I use the small memory model, it runs out of
- memory
- >after 19 entries. On the large model (1MB memory, 64k max size of
- >array), it can read 155 entries. I cannot seem to trace down the
- >problem...I cannot see where an error of 10-20x the amount of memory
- >needed could possibly take place. Any ideas?
-
- I'd suggest using a garbage collector to fix this sort of thing. You
- could spend countless hours finding and fixing this. And then doing it
- again with the next memory leak. Or you can use a GC and not worry
- about it again. ftp://parcftp.xerox.com/pub/gc has an excellent one for
- free. www.geodesic.com is a the home page for geodesic systems, if
- you'd prefer a commercial product.
-
- g
-